<%@ include file="public/include.jsp" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
 	<link type="text/css" rel="stylesheet" href="styles/pub/default.css">
	<script type="text/javascript" language="JavaScript" src="scripts/pub/jquery.js"></script>
	<script type="text/javascript" language="JavaScript" src="scripts/pub/common.js"></script>
	<script type="text/javascript" language="JavaScript" src="scripts/biz/apply.js"></script>
	<script type="text/javascript" language="JavaScript" src="scripts/biz/export.js"></script>
</head>
<body>
<c:set value="${map.apply}" var="apply" />
<div class="main" align="center">
	<table style="width:90%;" align="center">
		<%@ include file="/ApplyInfoView.jsp"%>
		<%@ include file="/ExhArchiveView.jsp" %>
		
		<tr class="button">
		  <td align="center">
		  	<div>
		  		<input type="hidden" name="applyId" value="${apply.id}">
		  		<div style="visibility:hidden;display:none;">
					<script type="text/javascript">
						function exportRun(){
							var apply=${map.applyJson}.apply;
							var inspectDeclMap=${map.inspectDeclMapJson}.map[0]["entry"];
							var simpleDeclList=${map.simpleDeclListJson}.list[0]["apps.web.model.Decl"];
							var simpleGoodsList=${map.simpleGoodsListJson}.list[0]["apps.web.model.Goods"];
							archiveExportView(apply,inspectDeclMap,simpleDeclList,simpleGoodsList);
						}
					</script>
				</div>
				<input type="button" value=" 导出 " onclick="exportRun()" />
			    <input type="button" value=" 返回 " onClick="window.history.back();">
		  	</div>
		   </td>
		</tr>
	</table>
</div>
</body>
</html>
